<!DOCTYPE html>
<html>
<head>
    <title>StudentAttendenceDetailsTable</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../libs/validator.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
    <script src="../../libs/My97DatePicker/4.8/WdatePicker.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" v-model="q.key" @keyup.enter="query" placeholder="学生名字/所属学院/所属班级">
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="College">
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Profession">
                    <option value=''>请先选择学院</option>
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Class">
                    <option value=''>请先选择学院</option>
                </select>
            </div>
            <div class="form-group col-sm-2 set-paddingLeft">
                <select  class="form-control" id="Student">
                    <option value=''>请先选择班级</option>
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Course">
                    <option value=''>请先选择班级</option>
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="State">
                    <option value=''>全部</option>
                    <option value='出勤'>出勤</option>
                    <option value='迟到'>迟到</option>
                    <option value='旷课'>旷课</option>
                    <option value='早退'>早退</option>
                    <option value='请假'>请假</option>
                </select>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="startDate" name="startDate" placeholder="开始时间"/>
            </div>
            
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" id="endDate" name="endDate"  placeholder="结束时间"/>
            </div>
            <div class="btn-container">
                <span  class="normal-btn normal-color" onclick="setDate('1')">今日</span>
                <span  class="normal-btn normal-color" onclick="setDate('2')">本周</span>
                <span  class="normal-btn normal-color" onclick="setDate('3')">本月</span>
            </div>
        </div>
            <div class="btn-container" style="margin-bottom: 15px">
                <a class="normal-btn search-color" @click="query">查询</a>
                <a class="normal-btn normal-color" id="exportExcel">导出</a>
            </div>
            
            <!--<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
            <!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
            <!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
        </div>
        <table id="jqGrid"></table >
        <div id="jqGridPager"></div>
    </div>
<script src="../../js/modules/echarts/student_attendence_analysis.js"></script>
</body>
</html>